<template>
  <div id="app">
    <header class="header-contain">
      <router-view name='header'/>
    </header>
    <main class="main-contain">
      <router-view />
    </main>
    <footer class="footer-contain">
      <router-view name='footer'/>
    </footer>
  </div>
</template>
<script>
import './_reset.scss'
export default {
  name: 'App'
}
</script>>

<style lang="scss">
@font-face {
    font-family: 'iconfont';  /* project id 1852840 */
    src: url('//at.alicdn.com/t/font_1852840_opo65h71jhp.eot');
    src: url('//at.alicdn.com/t/font_1852840_opo65h71jhp.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_1852840_opo65h71jhp.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_1852840_opo65h71jhp.woff') format('woff'),
    url('//at.alicdn.com/t/font_1852840_opo65h71jhp.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_1852840_opo65h71jhp.svg#iconfont') format('svg');
  }
  .iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
  html,body {
    height: 100%;
  }
  #app{
    height: 100%;
    display: flex;
    flex-direction: column;
    .header-contain {
      height: 60px;
    }
    .main-contain {
      flex:1
    }
  }
</style>
